package de.gwtprime.client.places;


import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;
import com.google.gwt.place.shared.Prefix;

public class ImpressumPlace extends Place{
	
	String name;
	
	public ImpressumPlace(String name){
		this.name = name;
		
		
	}
	
	public String getName(){
		return name;
	}
	
	@Prefix("!Impressum")
	public static class Tokenizer implements PlaceTokenizer<ImpressumPlace>{

		@Override
		public ImpressumPlace getPlace(String token) {
			return new ImpressumPlace(token);
		}

		@Override
		public String getToken(ImpressumPlace place) {
			return place.getName();
		}

		
	}

}
